package com.scs.application.modules.device.controller;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.google.common.collect.Lists;
import com.scs.application.core.mvc.controller.CrudController;
import com.scs.application.modules.device.entity.DeviceCirculateSettings;
import com.scs.application.modules.device.service.DeviceCirculateSettingsService;
import com.scs.application.modules.sys.model.RestResult;
import org.springframework.web.bind.annotation.*;

import java.util.ArrayList;
import java.util.List;

/**
 *  设备共享设置服务层
 */
@RestController
@RequestMapping("/device/circulate_settings")
public class DeviceCirculateSettingsController extends CrudController<DeviceCirculateSettingsService, DeviceCirculateSettings>{

    /**
     * 推送外网
     */
    @GetMapping("/pushAll")
    public RestResult pushAll() {
        return service.pushAll();
    }
}